namespace CubicFWNet.Data.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class relevanceTypeIndex : DbMigration
    {
        public override void Up()
        {
            DropIndex("dbo.Relevance", "IX_FirstId-Type_Relevance");
            CreateIndex("dbo.Relevance", new[] { "FirstId", "Type" }, name: "IX_FirstId-Type_Relevance");
        }
        
        public override void Down()
        {
            DropIndex("dbo.Relevance", "IX_FirstId-Type_Relevance");
            CreateIndex("dbo.Relevance", new[] { "FirstId", "Type" }, unique: true, name: "IX_FirstId-Type_Relevance");
        }
    }
}
